﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Source Code</title>
<link type="text/css" rel="stylesheet" href="shCore.css"/>
<link type="text/css" rel="stylesheet" href="shThemeDefault.css"/>
<script language="javascript" src="shCore.js"></script>
<script language="javascript" src="shBrushXml.js"></script>
<script type="text/javascript">
	SyntaxHighlighter.config.clipboardSwf = 'clipboard.swf';
	SyntaxHighlighter.all();
</script>
</head>

<body>
<p><span>Source of <strong>PanelWindow/iframewindow.html:</strong></span> 
</p>
<pre class="brush: xml;">
&lt;!-- vim: ts=2:sw=2:nu:fdc=2:spell
 
Handling Item Clicks
 
@author    Ing.Jozef Sakáloš
@copyright (c) 2009, by Ing. Jozef Sakáloš
@date      4. February 2008
@version   $Id: itemclick.html 138 2009-03-20 21:22:35Z jozo $
 
@license itemclick.html is licensed under the terms of the Open Source
LGPL 3.0 license. Commercial use is permitted to the extent that the 
code/component(s) do NOT become part of another Open Source or Commercially
licensed development library or toolkit without explicit permission.
 
License details: http://www.gnu.org/licenses/lgpl.html
--&gt;
 
&lt;html&gt;
&lt;head&gt;
  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
  &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;/ext-2.21/resources/css/ext-all.css&quot;&gt;
  &lt;link id=&quot;theme&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;../css/empty.css&quot;&gt;
  &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;../css/icons.css&quot;&gt;
  &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;../css/itemclick.css&quot;&gt;
  &lt;link rel=&quot;shortcut icon&quot; href=&quot;../img/extjs.ico&quot;&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;/ext-2.21/adapter/ext/ext-base.js&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;/ext-2.21/ext-all-debug.js&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;iframewindow.js&quot;&gt;&lt;/script&gt;
  &lt;title id=&quot;page-title&quot;&gt;iFrame Window Power By Fatjames&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;  &lt;!-- ad start can delete--&gt;
  &lt;div id=&quot;alimama&quot; style=&quot;margin:4px&quot;&gt;
	   &lt;script type=&quot;text/JavaScript&quot;&gt; 
        alimama_pid=&quot;mm_11066753_1028244_2666449&quot;; 
        alimama_titlecolor=&quot;0000FF&quot;; 
        alimama_descolor =&quot;000000&quot;; 
        alimama_bgcolor=&quot;FFFFFF&quot;; 
        alimama_bordercolor=&quot;E6E6E6&quot;; 
        alimama_linkcolor=&quot;008000&quot;; 
        alimama_bottomcolor=&quot;FFFFFF&quot;; 
        alimama_anglesize=&quot;0&quot;; 
        alimama_bgpic=&quot;0&quot;; 
        alimama_icon=&quot;0&quot;; 
        alimama_sizecode=&quot;11&quot;; 
        alimama_width=760; 
        alimama_height=90; 
        alimama_type=2; 
        &lt;/script&gt; 
        &lt;script src=&quot;http://a.alimama.cn/inf.js&quot; type=text/javascript&gt; 
        &lt;/script&gt;
	&lt;/div&gt;
  &lt;!-- ad end can delete--&gt;
&lt;div id=&quot;remarks&quot; style=&quot;margin:4px&quot;&gt;
  &lt;H3&gt;弹出的 Window 中嵌入 iframe&lt;/H3&gt;
                      &lt;p&gt;这个例子告诉我们如何在window中嵌入一个iframe.. &lt;/p&gt;
                      &lt;p&gt;一般应用在需要调用第三方页面的时候.如调用通用的上传文件功能.&lt;/p&gt;
                      &lt;p&gt;另外还可以在自己的网站上显示另外一个网站的新闻/图片.(这招还是不要用得太多..)&lt;/p&gt;
&lt;/div&gt;
        &lt;/body&gt;
&lt;/html&gt;
&lt;!-- eof --&gt;
</pre>

</body>
</html>
